#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <search.h>
#include "adj_handle_yA_huA.c"

main(int argc,char *argv[])
{
	char result[VERY_LARGE],str[VERY_LARGE],gender[SMALL],number[SMALL];

	while(!feof(stdin)){	
	scanf("%s\t%s\t%s",str,gender,number);
		adj_handle_yA_huA(result,str,gender,number);
		printf("%s\t%s\t%s\t%s\n",str,gender,number,result);
	}
}
